package com.hifar.demo3.pojo;

public class SupplyItem {
    private String code;        // 供应品代码
    private String quantity;    // 数量
    private String description; // 描述
    
    // 构造函数
    public SupplyItem() {
    }
    
    public SupplyItem(String code, String quantity, String description) {
        this.code = code;
        this.quantity = quantity;
        this.description = description;
    }
    
    // getters 和 setters
    public String getCode() {
        return code;
    }
    
    public void setCode(String code) {
        this.code = code;
    }
    
    public String getQuantity() {
        return quantity;
    }
    
    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    
    @Override
    public String toString() {
        return "SupplyItem{" +
               "code='" + code + '\'' +
               ", quantity='" + quantity + '\'' +
               ", description='" + description + '\'' +
               '}';
    }
}